home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
sos3-2.lha
/
bin
/
sos-instcnt
< prev
next >
Wrap
Text File
|
1992-02-13
|
883b
|
30 lines
#!/bin/sh
# --------------------------------------------------------------------------
# Copyright 1992 by Forschungszentrum Informatik (FZI)
#
# You can use and distribute this software under the terms of the licence
# you should have received along with this program.
# If not or if you want additional information, write to
# Forschungszentrum Informatik, "STONE", Haid-und-Neu-Strasse 10-14,
# D-7500 Karlsruhe 1, Germany.
# --------------------------------------------------------------------------
# 'sos-instcnt - 07:03:91 - Dietmar Theobald'
#
# sos-instcnt
#
# Installs the containers of the working version in the directory $SOSCONTAINER.
# ('cp' denies copying a file onto itself.)
#
from="${SOSPATH-__SOS_INSTALLED_PATH__}/cnt"
to="${SOSCONTAINER?}"
cp -p $from/[0-9]* "$to"
cd $to
for cnt in [0-9]*
do
[ -f "$from/$cnt" ] || rm -f $cnt
done
chmod u+w $to/[0-9]*